package org.dong.samples.service;

import org.dong.samples.dao.UserHibernateDAO;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
@Service
public class UserHibernateService {
	
	@Autowired
	private UserHibernateDAO userHibernateDAO;
	
	public void insertTime(String time, String userId){
		userHibernateDAO.insertTime(time, userId);
	}
	
	public void insertCount(Integer count, String userId){
		userHibernateDAO.insertCount(count, userId);
	}
}
